<!DOCTYPE html>
Tests overflow recalc when container changes position but no layout is scheduled for descendants.
Passes if the blue square has black box shadow.
<div id="container" style="width: 200px; height: 200px">
  <div id="target" style="width: 200px; height: 200px; background-color: blue"></div>
</div>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
  container.style.position = 'fixed';
  target.style.boxShadow = '50px 50px black';
}, true);
</script>
